/**
 * 
 */
package com.inspur.cloud.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cloud.demo.entity.User;
import com.inspur.cloud.demo.repository.DemoRespository;

/**
 * @author zhaoshan<br>
 * @version 1.0
 * 2019年3月25日 下午3:47:31<br>
 */
@Service
public class DemoServiceImpl implements DemoService{

    @Autowired
    DemoRespository demoRepository;
    
    @Override
    public List<User> hello() {
        // TODO Auto-generated method stub
        return demoRepository.listUser();
    }

}
